

<@realgodo.show_html>
	<script type="text/javascript" src="${base}/scripts/user/show/add.js" language="javascript"></script>
	<script language="JavaScript">
		var base = "${base}";
		 jQuery(function($){
  			$('#time').datepicker();
	});
	</script>

 	<form name="addForm" id="addForm" action="${base}/user/show/index!save" method="post">
 		<input type="hidden" name="show.viedo" value="1"/>
 		<!--<input type="hidden" name="show.viedoTop" value="0"/>-->
 		<div class="fb_co l bgff" id="show_add_div">
		 	<p class="font13 mainColor vd_weight">把你最强的一面展示出来! 最棒的可以出现在首页！</p>
			<p  class="fb_top"><span class="font13 vd_color9">发生时间:&nbsp;</span><input id="time" type="text" class="bodx font13 vd_color9" style="padding:3px; width:150px" name="show.showTime" value="" /></p>
			<p  class="fb_top"><span class="font13 vd_color9">标题:</span><br />
				<input type="text" class="bodx font13 vd_color9 p_top" style="padding:10px;" size="30" name="show.title" value=""/>
			</p>
			<p class="fb_top font13 vd_color9">只有选择视频才分类可能在MEIMEI视频...</p>
			<p class="fb_top">
				<select name="show.showCatalog.id">
					<#--><option value="">请选择视频分类</option>-->
					<#list showCatalogs as showCatalog>
					<option value="${(showCatalog.id)!}">${(showCatalog.name)!}</option>
					</#list>
				</select>
			</p>
			<div id="show_modules0">
				<p class="fb_top"><div class="co_mh">视频</div></p>
				<p class="fb_top font13 vd_weight vd_color9">标题：</p>
				<p class="p_top">
					<input type="text" class="bodx font13 vd_color9" style="padding:3px; " size="50" name="modules[0].title"/>
					<input type="hidden" name="modules[0].type" value="2"/>
				</p>
				<p class="fb_top font13 vd_weight vd_color9">请输入视频代码：</p>
				<p class="p_top">
					<textarea  id="show_viedo" class="bodx font13 vd_color9 bgff" style="padding:10px 10px; width:350px; height:300px; vertical-align:middle" name="modules[0].content"></textarea>&nbsp;
					<input type="button" value="预览"  class="bgff font13 vd_weight mainColor" style="padding:10px 15px" onClick="viewViedo()"/>
					<input type="button" value="删除模块"  class="bgff font13 vd_weight mainColor" style="padding:10px 15px" onClick="removeModule(0)"/>
				</p>

				<p class="p_top">
					<div id="view_viedo"></div>
				</p>
			</div>
				<p class="fb_top txtright" id="buttom">
				<input type="button" value="下一步" class="bgff font13 vd_weight mainColor" style="padding:10px 15px;" onClick="toCover()"/>
				</p>
 		</div>
  		<div class="fb_co l bgff" style="display:none" id="show_cover_div">
 			<p class="font14 mainColor vd_weight bga">下面做封面了~这步需要理解一下...如果晕 > <A href="#" hidefocus class="mainColor" style="text-decoration:underline">看个小教程</A> </p>
			<p class="fb_top"></p>
				<ul class="v_head">
					<li class="alive"><A hidefocus href="#">图片封面/文字封面</a></li>
					<li><A hidefocus href="#">图片封面</a></li>
					
				</ul>
				<div class="bodx" style="padding:10px">
				<p><span class="font12 vd_color9 " style="background:#FFFF00">每张图片可上载2MB.</span></p>
				<p class="z_file"> 
					<input id="upload_2" class="font13 vd_color9 bgff" name="upload" type="file" value="" onchange="return ajaxFileUpload(this);"/></p>
					<input id="hidden_2" type="hidden" name="show.cover" value=""/>
			  	<p>
			  		<div><img id="imgshow_2" width="360px" height="270px" src="${statics}/plugins/fileupload/pic_upload_default.jpg " class="multiple_img"/></div>
			  		
			  	</p>
					<p class="font13 vd_color9 vd_clear">显示模式&nbsp;
						<input type="radio" name="show.display" value="0" class="bgff"  style="vertical-align:middle" checked="true"/>&nbsp;标准模式&nbsp;
						<input type="radio" name="show.display" value="1" class="bgff" style="vertical-align:middle" />&nbsp;幻灯片模式
					</p>
					<p class="font13 vd_color9 vd_clear">隐私设置&nbsp;
						<input type="radio" name="show.privacy" value="0" class="bgff"  style="vertical-align:middle" checked="true"/>&nbsp;公开&nbsp;
						<input type="radio" name="show.privacy" value="1" class="bgff" style="vertical-align:middle" />&nbsp;仅会员可见&nbsp;
						<input type="radio" name="show.privacy" value="2" class="bgff" style="vertical-align:middle" />&nbsp;仅朋友可见&nbsp;
						<input type="radio" name="show.privacy" value="3" class="bgff" style="vertical-align:middle" />&nbsp;隐藏
					</p>
					<p class="font13 vd_color9 vd_clear">展示类型&nbsp;
						<input type="radio" name="show.type"  value="0" class="bgff"  style="vertical-align:middle" checked="true"/>&nbsp;我自己&nbsp;
						<input type="radio" name="show.type"  value="1" class="bgff" style="vertical-align:middle" />&nbsp;我的作品&nbsp;
						<input type="radio" name="show.type"  value="2" class="bgff" style="vertical-align:middle" />&nbsp;活动/事件&nbsp;
						<input type="radio" name="show.type"  value="3" class="bgff" style="vertical-align:middle" />&nbsp;转载
					</p>
					<p  class="font13 mainColor vd_clear vd_weight">注意：只有设置为公开，才有机会出现在美眉首页!</p>
					<p class="fb_top txtright l"><input type="button" value="上一步" class="bgff font13 vd_weight mainColor" style="padding:10px 15px;" onClick="toAdd()"/></p>
					<p class="fb_top txtright r"><input type="submit" value="发布" class="bgff font13 vd_weight mainColor" style="padding:10px 15px; " /></p>
					<p class="vd_clear"></p>
				</div>
		</div>
 </form>
</@realgodo.show_html>
